feat(npm_nodejs): hacked in npm module support #57
Open
DerekZiemba wants to merge 6 commits intodwachss:masterfrom
Open
feat(npm_nodejs): hacked in npm module support #57DerekZiemba wants to merge 6 commits intodwachss:masterfrom
DerekZiemba wants to merge 6 commits intodwachss:masterfrom
Conversation
stiliyana94
approved these changes
Jun 14, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
I wanted to be able to
npm install git@github.com:DerekZiemba/bililiteRange.git#v5.0.0So I hacked in module support, added a package.json, and changed the way it's built. It's quick & dirty, but could serve as a starting point if you were inclined to add npm support.
Other notable Changes:
5.0.0dist/bililiteRange.jsnow also includesbililiteRange.lines.js&jquery.sendkeys.jsdist/editor.jsbuild step was removed (commented out) because it was sourcing files from other repos via webrequest & I don't intend to make those compatible.module-support.jsto mock nodejs'smodule.exports&require()mechanisms so types/Intellisense would work across files.modulevariable globally declared somewhere, in which case it would incorrectly export itself to anexportsproperty on that object.